PublishPress\Future\Framework\WordPress\Models\PostModel S

Total Complexity 41
Dependencies 7
Dependents 0
Total lines 327
Lines of code 176
Logical lines of code 76
Comment lines 59
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
getTermNames()
S
58 4 15
updateMeta()
S
57 3 18
deleteMeta()
S
58 3 17
getPostInstance()
S
65 4 9
__construct()
S
62 3 12
getTermIDs()
S
68 2 7
getTerms()
S
66 2 8
getPostTypeSingularLabel()
S
68 2 7
postExists()
S
76 1 4
update()
S
69 1 7
unstick()
S
77 1 4
stick()
S
77 1 4
trash()
S
80 1 3
delete()
S
78 1 3
setTerms()
S
78 1 3
appendTerms()
S
78 1 3
addMeta()
S
67 1 8
metadataExists()
S
66 1 9
getMeta()
S
66 1 9
getPostId()
S
81 1 3
getPostEditLink()
S
80 1 3
setPostStatus()
S
68 1 8
getPostStatus()
S
80 1 3
getTitle()
S
80 1 3
getPostType()
S
80 1 3
getPermalink()
S
80 1 3